/**
 * 
 */
package lastfmbaseball.core;

/**
 * @author DanBress
 * 
 */
public class BaseRunner
{
	private PlayerInGame baseRunner;
	private Base base;
	private BaseRunnerState state;

	public BaseRunner(PlayerInGame baseRunner, Base base, BaseRunnerState state)
	{
		this.baseRunner = baseRunner;
		this.base = base;
		this.state = state;
	}

	public Base getBase()
	{
		return base;
	}

	public PlayerInGame getPlayer()
	{
		return baseRunner;
	}

	public BaseRunnerState getState()
	{
		return state;
	}

	public void setBase(Base base)
	{
		this.base = base;
	}

	public void setState(BaseRunnerState state)
	{
		this.state = state;
	}

	public String toString()
	{
		return baseRunner.getPlayer() + " on " + base;
	}
}
